Totals
Add grand totals and sub-totals to your grids to provide additional context and information. Totals can be enabled either through the right-click context menus or via the Totals dialog box which offers more options for setting and configuring the totaling logic deployed. The dialog is explained below.
Note: Sub-totals cannot function together with sorting, filtering, N-of-N and elimination logic.
Using the Totals Dialog
Quick totals are normally enabled via the context menu and apply only to grid visualizations. The alternative technique is to turn on totals using the ribbon buttons and the associated dialogs. This offers finer control over both the total logic.
- Toggle the Totals button from the Home ribbon to show or hide totals
- By default, grand totals will be added to the grid
- There are a few ways to remove totals from the grid:
- You can toggle the Totals button off to remove all totals
- Click the drop-down and select Remove Totals
- Remove totals for columns or rows only - click the drop down, and under columns or rows select Remove Totals
- Select Remove Totals from the Totals dialog
- Open the Totals dialog box to customize the way totals are shown
- There is a separate dialog for columns and rows - click the Totals drop down, and under Columns or Rows, select Totals to open the dialog
Total Position
Bottom Totals: adds an additional row or column at the end or bottom of the grid - this is the default position.
Top Totals: adds an additional row or column at the start or top of the grid.
Totals Type
Grand Totals Only: displays grand totals only:
Grand and Sub-Totals: displays both grand totals and sub-totals:
Sub Totals: displays sub-totals only:
Total Functions
- Aggregate (default): uses the aggregation type defined within the source database.
- Sum: displays the sum of the totaled cells.
- Count: displays the number of contributing cells. Empty cells are NOT counted.
- Average: displays the average value of the contributing cells. Empty cells are NOT included in calculation.
- Minimum: displays the minimum value from among the contributing cells.
- Maximum: displays the maximum value from among the contributing cells
- Median: displays the median value of the contributing cells. Empty cells are NOT included in calculation.
- Standard Deviation: displays the standard deviation between the contributing cells. Empty are NOT included in calculation.
Advanced Formulation Options for Totals
Advanced formulation options are available on Microsoft MDX based data sources only.
- Ignore Model Scoping - this informs the query engine to ignore the 'scope isolation' switch in MS OLAP. This changes the behavior of client side calculations vs server side calculations.
- Include Calculated Member - this informs to include calculated members in totals.
- Overwrite Solve Order - in situations where there are overlapping calculations, the order in which they are solved can impact the totals. This allows you to specify the solve order for the totals themselves.
- Intelligent Totals - this switch allows the engine to heuristically decide on the fastest way to add totals to your query. The switch allows you to turn it off in the event the approach makes things slower in your specific circumstance.